#pragma once
#include "afxwin.h"

#include "DlgAdjustmentHistogram.h"

// DlgSysAdjustment dialog

class DlgSysAdjustment : public CDialog
{
	DECLARE_DYNAMIC(DlgSysAdjustment)

public:
	DlgSysAdjustment(CWnd* pParent = NULL);   // standard constructor
	virtual ~DlgSysAdjustment();

// Dialog Data
	enum { IDD = IDD_System_Adjustment };

public:
	void	LoadReviseFileList();
	int		LoadReviseFile(char *pszFile);
public:
	DlgAdjustmentHistogram *m_pDlgAdjustHis;
	void LoadHis();

public:
	void GetReviseParam(zkSysReviseParam *pInfo);

public:
	void SetXRay();

private:
	void SetEnabaleRevParam(BOOL bShow);

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedDlgNew();
	virtual BOOL OnInitDialog();
	afx_msg void OnBnClickedOk();
	CComboBox m_ComboxAdjustFile;
	afx_msg void OnBnClickedCheckCurAdjusmentFile();
	CComboBox m_ComboxPlus;
	CComboBox m_ComboxFrameSpeed;
	CComboBox m_ComboxPixelCount;
	afx_msg void OnCbnSelchangeComboFrameSpeed();
	afx_msg void OnCbnSelchangeComboPixelMerge();
	virtual BOOL DestroyWindow();
	afx_msg void OnBnClickedCancel();
	afx_msg void OnCbnSelchangeComboCurAdjustmentFile();
	afx_msg void OnBnClickedButParamset();
};
